JwtAuthGuard.canActivate   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 2
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 1
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 2
dl 0
loc 2
ccs 1
cts 1
cp 1
crap 1
rs 10
c 0
b 0
f 0
1 11
import { ExecutionContext, Injectable } from '@nestjs/common';
2 11
import { AuthGuard } from '@nestjs/passport';
3
4
@Injectable()
5 11
export class JwtAuthGuard extends AuthGuard('jwt') {
6
  canActivate(context: ExecutionContext) {
7 31
    return super.canActivate(context);
8
  }
9
}
10